package main

import "fmt"

func sayhi() {
	fmt.Println("say hi")
}

func main() {
	// 函数是一等公民
	fistfunc := sayhi
	fistfunc()

	var myFunction func() = sayhi
	myFunction()

}
